platform/aws: add bootstrap node and step for joining it#2924
platform/aws: add bootstrap node and step for joining it#2924alexsomesan merged 1 commit intocoreos:ut2-integrationfrom
Conversation
|
Can one of the admins verify this patch? |
|
@enxebre What's the reasoning in favor of using import |
|
@alexsomesan good question! to my knowledge data source is read-only mechanism so we can take advantage of it to take action based on data from a previews step but I can't see how to modify the desired state of a pre-exiting resource without importing it. The way to avoid it as far as I can see would be to use independent resources, so single instances as stated in the desc above. Otherwise we could eventually remove the tf dependency for this and just scale the groups via cli/aws-api but this would set a hard dependency on the cli |
Breaking down #2802 into smaller PRs.
Fix INST-823 and INST-824
At this point this would require:
terraform import aws_autoscaling_group.masters cluster-aws-mastersterraform import aws_autoscaling_group.workers cluster-aws-workersfor the joining step. Just a note that in the future the tradeoffs of simplifying this workflow by using single instances could be re-evaluated